boot.initrd.luks.devices.<name>.keyFile
The name of the file (can be a raw device or a partition) that should be used as the decryption key for the encrypted device. If not specified, you will be prompted for a passphrase instead.
- Type
null or string- Default
null- Example
"/dev/sdb1"- Declared
- <nixpkgs/nixos/modules/system/boot/luksroot.nix>